package com.ddtj.demo1.service;

import com.ddtj.demo1.entity.Book;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface IBookService {
    List<Book> findAll(Book book);
    void save(Book book);
    void update(Book book);
    void delete(Book book);
    Page<Book> findPage(Pageable pageable, Book book);
}
